import { ApiProperty } from "@nestjs/swagger";
import { Blog } from "src/blog/blog.entity";
import { Comment } from "../comment.entity";

export class CommentDto {
    @ApiProperty()
    nickName: string

    @ApiProperty()
    email: string

    @ApiProperty()
    content: string

    @ApiProperty()
    avatar: string

    @ApiProperty()
    blogId: number

    blog: Blog

    @ApiProperty()
    parentCommentId: number

    parentComment: Comment

    @ApiProperty()
    adminComment: boolean
}